package com.meteor.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.meteor.framework.common.base.AutoEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;

/**
 * @author lynn
 * @date 2024/2/28
 *
 * @Description:房间管理
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("pf_room")
public class Room extends AutoEntity<Room> {

    @Schema(description= "小区id")
    private String communityId;

    @Schema(description= "楼栋id")
    private String buildingId;

    @Schema(description= "单元id")
    private String unitId;

    @Schema(description= "楼层")
    private Integer roomLevel;

    @Schema(description= "房间编号")
    private String roomCode;

    @Schema(description= "房间名称")
    private String roomName;

    @Schema(description= "房屋建筑面积")
    private BigDecimal roomAcreage;

    @Schema(description= "算费系数")
    private BigDecimal roomCost;

    @Schema(description= "房屋状态")
    private String roomStatus;

    @Schema(description= "是否商铺")
    private String roomIsShop;

    @Schema(description= "是否商品房")
    private String roomSCommercialHouse;

    @Schema(description= "房屋户型")
    private String roomHouseType;

    @Schema(description = "组织id")
    private String orgId;

}
